package cn.csc.module.member.controller.app.menu.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * 菜单权限 Excel VO
 *
 * @author liuchuang
 */
@Data
public class AppMemberMenuExcelVO {

    @ExcelProperty("菜单ID")
    private BigInteger id;

    @ExcelProperty("菜单名称")
    private String name;

    @ExcelProperty("权限标识")
    private String permission;

    @ExcelProperty("菜单类型")
    private Byte type;

    @ExcelProperty("显示顺序")
    private Integer sort;

    @ExcelProperty("父菜单ID")
    private BigInteger parentId;

    @ExcelProperty("路由地址")
    private String path;

    @ExcelProperty("菜单图标")
    private String icon;

    @ExcelProperty("组件路径")
    private String component;

    @ExcelProperty("组件名")
    private String componentName;

    @ExcelProperty("菜单状态")
    private Byte status;

    @ExcelProperty("是否可见")
    private Boolean visible;

    @ExcelProperty("是否缓存")
    private Boolean keepAlive;

    @ExcelProperty("是否总是显示")
    private Boolean alwaysShow;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
